package com.dinner.service;

import java.util.List;

import com.dinner.exception.SellerRegistrationException;
import com.dinner.model.Seller;
import com.dinner.util.PageHelper;

public interface SellerService {

	public com.dinner.model.Seller getSeller(String sellerID, String password1, 
			String password2, String sellerName, String sellerAddress, 
			String openTime, String closeTime, String telephone, String email, 
			String description) throws SellerRegistrationException;

	public void saveSeller(com.dinner.model.Seller seller);
	
	public com.dinner.model.Seller getSellerByID(String sellerID);
	
	public java.util.List<com.dinner.model.Seller> getSellersByAuthentication(boolean authenticated);
	
	public void executeSellerAuthentication(String sellerID, boolean permission);
	
	public void removeSeller(String sellerID);

	public List<com.dinner.model.Seller> getAllSellers();
	
	public List<Seller> getSellersByPage(PageHelper page);

	public List<Seller> getSellersByAuthenticationAndPage(boolean auth,
			PageHelper p);
}
